package com.user.client;

import com.user.pojo.User;
import org.springframework.stereotype.Component;

@Component
public class UserClientFallback implements UserClient {
    @Override
    public User queryUserById(Long id) {
        User user = new User();
        user.setName("熔断器启动。。。。。。。。");
        return user;
    }
}
